package com.cuit.riskassessment.dao.cardinfo;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cuit.riskassessment.vo.CardInfo;
import com.cuit.riskassessment.vo.StaffInfo;

public interface CardInfoMapper {
	public void add(CardInfo cardInfo);

	public void del(String id);

	public void update(CardInfo cardInfo);

	public List<CardInfo> getAll(@Param("pid") String pid);

	public List<CardInfo> getByElement(@Param("pid") String pid,
			@Param("element") String element, @Param("value") String value);

	public List<StaffInfo> getAllName();

	public List<StaffInfo> getNameByElement(@Param("value") String value);

	public String havePhoto(String id);

	public List<CardInfo> allCards();
	
	public String getName(@Param("id")String id);
}
